package java_test.mtthod;

import java.util.Scanner;

public class MethodEnum {
    public static void main(String[] args) {
//        lamborghini, tata, audi, fiat, honda
//        String catChange = new Scanner(System.in).next();
        Cat c = Cat.tata;
        switch (c) {
            case lamborghini:
                System.out.println("你选择了 lamborghini!");
                break;
            case tata:
                System.out.println("你选择了 tata!");
                break;
            case audi:
                System.out.println("你选择了 audi!");
                break;
            case fiat:
                System.out.println("你选择了 fiat!");
                break;
            case honda:
                System.out.println("你选择了 honda!");
                break;
            default:
                System.out.println("我不知道你的车型。");
                break;
        }
    }
}
